
<div class="row" style="height:356px;">
    
    <input type="text" placeholder="" name="" id="" class="span4" />
    <button class="btn" type="reset">Rechercher</button>
    
    <table id="sortTableExample" class="bordered-table zebra-striped">
        <thead>
            <tr>
                <th class="yellow header headerSortUp">Raison Sociale</th>
                <th class="orange header">Adresse</th>
                <th class="green header">Ville</th>
                <th class="yellow header">Code postal</th>
                <th class="yellow header">Téléphone</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->mutuelle as $mutuelle) : ?>

                <tr style="background-color:<?php echo $this->cycle(array("#F0F0F0", "#FFFFFF"))->next(); ?>;cursor:pointer"
                    onclick="javascript:document.location='<?php echo $this->url(array('controller' => 'mutuelle', 'action' => 'edit', 'id' => $mutuelle->id_mutuelle)); ?>'">
                    <td><strong><?php echo $this->escape(ucfirst($mutuelle->raison_sociale)); ?></strong></td>
                    <td><?php echo $this->escape($mutuelle->adresse); ?></td>
                    <td><?php echo $this->escape($mutuelle->ville); ?></td>
                    <td><?php echo $this->escape($mutuelle->cpostal); ?></td>
                    <td><?php echo $this->escape($mutuelle->tel); ?></td>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
    <?php echo $this->paginationControl($this->mutuelle, 'Sliding', 'common/paginator.phtml'); ?>
</div>
<script >
    $(function() {
        $("table#sortTableExample").tablesorter({ sortList: [[0,0]] });
        // sorlist [[num_col, order)]]
        // 0 : asc, 1 : desc
    });
</script>
